﻿using Sys.Core.Sys;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Sys.Api.Sys
{
    public class LogApi : BaseApi
    {
        public string Grid(int rows, int page)
        {
            var entities = LogBll.I.SortEntities;

            var list = LogBll.I.EntitiesPage(entities, rows, page);

            return GetGrid(entities.Count(), list);
        }
    }
}
